Skip to content

packaging: Conflict with older bootc in system-reinstall-bootc - #2648

Merged
jeckersb merged 1 commit into
bootc-dev:mainfrom
jeckersb:spec-reinstall-manpage-conflicts
Nov 12, 2026
Merged

jeckersb merged 1 commit into
bootc-dev:mainfrom
jeckersb:spec-reinstall-manpage-conflicts

Conversation

@jeckersb

Copy link
Copy Markdown
Collaborator

Commit 30ca1fd moved system-reinstall-bootc.8 from the bootc package into system-reinstall-bootc. Older bootc builds still ship that file, so rpmdeplint reports an undeclared file conflict, e.g. https://artifacts.dev.testing-farm.io/7a18d75e-4969-4f3a-8adb-32398764e9d8/:

system-reinstall-bootc-1.17.4-1.fc45.x86_64 provides /usr/share/man/man8/system-reinstall-bootc.8.gz which is also provided by bootc-1.17.1-1.fc45.x86_64

Declare the conflict explicitly, as the Fedora packaging guidelines recommend when files move between subpackages.

Tested locally with rpmdeplint check-conflicts against the f45-build Koji repo: the released 1.17.4-1.fc45 RPMs reproduce the failure, and RPMs built with this change pass.

Assisted-by: AI

Commit 30ca1fd moved system-reinstall-bootc.8 from the bootc
package into system-reinstall-bootc. Older bootc builds still ship
that file, so rpmdeplint reports an undeclared file conflict. Declare
the conflict explicitly, as the Fedora packaging guidelines recommend
when files move between subpackages.

Assisted-by: AI
Signed-off-by: John Eckersberg <dev@eckersberg.com>
Copilot AI balanced review requested due to automatic review settings November 11, 2026 22:13
@bootc-bot
bootc-bot Bot requested a review from gursewak1997 November 11, 2026 22:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the change declaring a conflict with older bootc packages.

No open issues 🎉

What changed in this PR

Declares a package conflict to prevent system-reinstall-bootc from being installed alongside older bootc packages that still ship the same man page.

Changes:

  • Adds Conflicts: bootc < 1.17.4 to the reinstall subpackage.
  • Adds a comment documenting when the man page moved between packages.
File Description
contrib/​packaging/​bootc.spec Declares the versioned conflict and documents its rationale.

Review effort: Balanced

@jeckersb
jeckersb merged commit f87dc17 into bootc-dev:main Nov 12, 2026
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants